home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 05.zip / BS1 part 5 / MakePath.adf / Install < prev    next >
AmigaDOS Script File  |  1992-04-02  |  3KB  |  105 lines

  1. .KEY destination
  2.  
  3. ; *** If Any improvments or changes are made please contact Hypercube! ***
  4. ; *** Hypercube Engineering 140 Barber St. Livermore, CA 94550 (415)373-9677
  5.  
  6. ECHO "MakePath Install V1.0© by: Robert Reiswig 08-02-91 "
  7. ECHO "For Hypercube Engineering." 
  8. ECHO ""
  9.  
  10. IF "<destination>" EQ ""
  11. SKIP Instru
  12. ENDIF
  13.  
  14. IF NOT EXISTS "<destination>"
  15.   ECHO "'<destination>' Does not exist. You must first"
  16.   ECHO "create the Directory that you want to install Makepath on!" 
  17.   ECHO ""
  18.   SKIP ERROR
  19. ENDIF
  20.  
  21. ASK "Are you ready to install Makepath? {Y|N}:"
  22. IF NOT WARN
  23.    ECHO "Stoping installtion"
  24.    SKIP ERROR
  25. ENDIF
  26.  
  27. ECHO ""
  28. ECHO "Does your system have math co-processor 68881/68882,"
  29. ASK  "on an 68020/68030 accelerator board {Y|N}:"
  30. IF WARN
  31.    ECHO ""
  32.    ECHO "Installing Floating-Point Makepath on -> <destination>"
  33.    SKIP GOFASTER
  34. ENDIF
  35.  
  36. ECHO ""
  37. ECHO "Installing Stock Makepath on -> <destination>"
  38.  
  39. COPY Makepath:Makepath.info to "<destination>" CLONE QUIET
  40. IF WARN
  41.       ECHO "There was an error while copying Makepath.info"
  42.       ECHO "   The Makepath Install Disk is bad"
  43.       ECHO "   SYS: is full or is write protected."
  44.       SKIP ERROR
  45. ENDIF
  46.  
  47. COPY Makepath:Makepath to "<destination>" CLONE QUIET
  48. IF WARN
  49.       ECHO "There was an error while copying Makepath"
  50.       ECHO "   The Makepath Install Disk is bad"
  51.       ECHO "   SYS: is full or is write protected."
  52.       SKIP ERROR
  53. ENDIF
  54.  
  55. SKIP COMEONLANDSCAPES
  56.  
  57. LAB GOFASTER
  58. COPY Makepath:Makepath.881.info to "<destination>" CLONE QUIET
  59. IF WARN
  60.       ECHO "There was an error while copying Makepath.881.info"
  61.       ECHO "   The Makepath Install Disk is bad"
  62.       ECHO "   SYS: is full or is write protected."
  63.       SKIP ERROR
  64. ENDIF
  65.  
  66. COPY Makepath:Makepath.881 to "<destination>" CLONE QUIET
  67. IF WARN
  68.       ECHO "There was an error whil copying Makepath.881"
  69.       ECHO "   The Makepath Install Disk is bad"
  70.       ECHO "   SYS: is full or is write protected."
  71.       SKIP ERROR
  72. ENDIF
  73.  
  74. LAB COMEONLANDSCAPES
  75. SKIP QUIT
  76.  
  77.  
  78. LAB Instru
  79. ECHO "" NOLINE
  80. ECHO "Makepath Install Instructions:"
  81. ECHO "
  82. ECHO "From the CLI/SHELL type: Install 'WhereToInstall'"
  83. ECHO "                         'WhereToInstall' is the destination"                         
  84. ECHO "                         directory where you want Makepath to be installed."
  85. ECHO "                         Make sure the complete path name is Included."
  86. ECHO "                         (i.e. DH0:GRAPHICS/VistaPro)  If you get this error:"
  87. ECHO "                         Unable to load Install: file is not an object module"
  88. ECHO "                         then the script-bit has been changed. Just type"
  89. ECHO "                         Execute Install 'WhereToInstall'."  
  90. ECHO ""
  91. ECHO "From the WORKBENCH     : Click the Install ICON Once, next"
  92. ECHO "                         Press & Hold the Shift Key and"
  93. ECHO "                         Double Click (fast) the ICON of the DISK" 
  94. ECHO "                         or DIRECTORY where you want Makepath to be installed"
  95. SKIP QUIT
  96.  
  97. LAB ERROR
  98. ECHO "An error has occured, Auto-installation has been stopped!"
  99. ECHO ""
  100.  
  101. LAB QUIT
  102. ECHO "
  103. ECHO "                                 Press {RETURN}   " NOLINE
  104. ECHO >NIL: ?
  105.